package com.yuhs.zixing.study.design.pattern.dp002.structural.s002.bridge.b002;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/5/1 5:57 PM
 */
public class HouseCorp002 extends Corp002 {
    //定义传递一个House产品进来
    public HouseCorp002(House002 house) {
        super(house);
    }

    //房地产公司很High了，赚钱，计算利润
    public void makeMoney() {
        super.makeMoney();
        System.out.println("房地产公司赚大钱了...");
    }
}
